package com.tongqin.distributed.service;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

/**
 * @author yuantongqin
 * @date 2018/7/13 下午5:08
 */
public class ClusterDemo1 {

    public static void main(String[] args) throws IOException {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("META-INF/spring/dubbo-cluster1.xml");
        context.start();
        System.in.read(); // 按任意键退出



    }
}
